package cn.tworice.admin.service;

import cn.tworice.common.entity.Admin;

import java.util.List;

public interface AdminService extends InductsListenerService<Admin>{

    List<Admin> getAdminList(Integer page, Integer pageSize,Admin entity);

    int getAdminTotal(Admin entity);

    String addAdmin(Admin admin);

    void delAdminByIds(String[] ids);

    boolean updateAdminInfo(Admin admin);

    Admin getInfo(String id);

//    int save(List<Admin> list);
}
